from random import randint


def solve():
    s1 = set()
    s2 = set()
    for i in range(10):
        s1.add(randint(0, 10))
        s2.add(randint(0, 10))
    print(s1 and s2)
    print(s1 - s2)
    print(s1 or s2)


if __name__ == "__main__":
    solve()
